Component({
  data: {

  },
  properties: {
    tabs:{
      type:Array,
      value:[]
    }
  },
  methods: {
    handleItemTap(e){
      let {index} = e.currentTarget.dataset;
      this.triggerEvent('tabsItemChange',{index});
    }
  }
})